const ZipCodeJp = {};
ZipCodeJp.getCitiesOfPrefecture = (prefectureJisCode) => {
  return require(`./city/${prefectureJisCode}.json`)
}
ZipCodeJp.getTownsOfCity = (prefectureJisCode,cityCode) => {
  return require(`./town/${prefectureJisCode}/${cityCode}.json`)
}
ZipCodeJp.getPrefectures = () => {
  return require('./prefecture.json')
}
export default ZipCodeJp;

